package com.qf.dao;

import com.qf.domain.Goods;

import java.util.List;

/**
 * @author YDW
 * projectName:shopping
 * time:2022/4/19 19:35
 * description:
 */
public interface GoodsDao {
    Long findTotalCount(int typeId);

    List<Goods> findData(int typeId, int i, int pageSize);

    Goods findGoodsById(int id);

    List<Goods> selectAll();

    void insertGoods(Goods goods);
}
